Home-based rehabilitation with a digital biofeedback system